package com.lzc.zhxy.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lzc.zhxy.pojo.TbGrade;

import java.util.List;

/**
* @author 82389
* @description 针对表【tb_grade】的数据库操作Service
* @createDate 2022-04-16 18:00:37
*/
public interface TbGradeService extends IService<TbGrade> {

    /**
     * 分页查询模糊查询
     * @param page
     * @param gradeName
     * @return
     */
    IPage<TbGrade> getGradeByOpr(Page<TbGrade> page, String gradeName);

    /**
     * 获取所有Grade信息
     * @return
     */
    List<TbGrade> getGrade();
}
